#include "stdafx.h"

#define MAX_STRING_SIZE		32
#define MAX_CONTENT_SIZE	1024 

typedef struct SMS_t {
	int		type_SMS;
#ifdef PM_DEBUG
	int		dbg_SMS_serial;
#endif
	char	tch_SMSdate [MAX_STRING_SIZE];
	char	tch_SMStele [MAX_STRING_SIZE];
	char 	tch_content [MAX_CONTENT_SIZE];
} s_SMS_t;

void msgbody_export(s_SMS_t *pSMS, FILE *ostream);
void msgbody_reset(s_SMS_t *pSMS);
int	msgbody_set_SMSdate (s_SMS_t *pSMS, const char *pSMSdate);
int msgbody_set_SMStele (s_SMS_t *pSMS, const char *pSMStele);
int msgbody_set_content (s_SMS_t *pSMS, const char *pcontent);